Function Reference

_Degree

Converts radians to degrees.

#include <Math.au3>
_Degree ( $nRadians )

 

Parameters

$nRadians Radians to be converted into degrees.

 

Return Value

Success: Degrees converted from radians.
Failure: Blank string and @error set to 1.

 

Remarks

Can be used in conjunction with the Sin(), Cos(), and Tan() functions.

 

Related

_Radian, Sin, Cos, Tan, ASin, ACos, ATan

 

Example


#include <Math.au3>

$radians = 3.14159265358979
$degrees = _Degree($radians)

MsgBox(0, "Radians to Degrees", $radians & " radians = " & $degrees & " degrees")